package com.dragon.modules.yuegou.mapper.marketing;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dragon.modules.yuegou.entity.marketing.ActivityEntity;
import com.dragon.modules.yuegou.model.marketing.Activity;
import com.dragon.modules.yuegou.query.marketing.ActivityQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 抽奖活动表 Mapper接口
 *
 * @author pbuilder generated
 * @date 2019-04-23 14:40:38
 * @version 2.0
 */
@Component("mktActivityMapper")
public interface ActivityMapper extends BaseMapper<ActivityEntity> {
	
	IPage<Activity> search(IPage<Object> page, @Param("query") ActivityQuery query);
	
}
